-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Implement Allowlist Module And Native Token Limit Module #1232
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd the label graphite-merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
57f79ec
to
5496c55
Compare
d9c40ed
to
873b19e
Compare
5496c55
to
52071ce
Compare
52071ce
to
afccbd9
Compare
df3501a
to
45d889c
Compare
d161f12
to
4e59a6f
Compare
* feat: (WIP) native token limit module support * feat: adapt native token limit module to new arch and add tests * chore: autogenerated file * chore: cleanup
fab7cd0
to
f573d4d
Compare
* feat: allowlist module installation and uninstallation * feat: Add Native Token Limit Module Support (#1233) * feat: (WIP) native token limit module support * feat: adapt native token limit module to new arch and add tests * chore: autogenerated file * chore: cleanup * chore: remove only test specifier * test: test allowlist module usage * test: flesh out native token limit module test * chore: rebase fixes * fix: await useroperation results correctly * chore: remove redundant post hook * feat: allow hooks on the fallback validation * fix: fix error name mismatch * fix: remove unnecessary await wrapping * chore: removed unused module components, cleanup * chore: rearrange tests to handle polluted end states
* feat: allowlist module installation and uninstallation * feat: Add Native Token Limit Module Support (#1233) * feat: (WIP) native token limit module support * feat: adapt native token limit module to new arch and add tests * chore: autogenerated file * chore: cleanup * chore: remove only test specifier * test: test allowlist module usage * test: flesh out native token limit module test * chore: rebase fixes * fix: await useroperation results correctly * chore: remove redundant post hook * feat: allow hooks on the fallback validation * fix: fix error name mismatch * fix: remove unnecessary await wrapping * chore: removed unused module components, cleanup * chore: rearrange tests to handle polluted end states
* feat: allowlist module installation and uninstallation * feat: Add Native Token Limit Module Support (#1233) * feat: (WIP) native token limit module support * feat: adapt native token limit module to new arch and add tests * chore: autogenerated file * chore: cleanup * chore: remove only test specifier * test: test allowlist module usage * test: flesh out native token limit module test * chore: rebase fixes * fix: await useroperation results correctly * chore: remove redundant post hook * feat: allow hooks on the fallback validation * fix: fix error name mismatch * fix: remove unnecessary await wrapping * chore: removed unused module components, cleanup * chore: rearrange tests to handle polluted end states
* feat: add ma v2 scaffolding with basic uo test * fix: review fixes * fix: some review fixes * fix: more review fixes * chore: rename abi files for clarity * chore: more fixes * chore: more fixes * chore: update abi types * chore: removing arbsepo instance * fix: more review fixes * fix: review fixes, improve getNonce implementation to be more friendly * chore: update sma type to include entity properties * fix: review fixes * fix: type in docs * fix: x * fix: reviews * feat: add install/uninstall validation (#1221) * feat: add install validation, add tests for session key * fix: lint * fix: review fixes * fix: tests * feat: add view functions and user op calldata encodings (#1223) * feat: add paymaster guard module fix: lint fix: review fixes feat: add view functions and user op calldata encodings feat: add paymaster guard module impl feat: adds tests for paymaster guard module chore: clean up comments refactor: removes unnecessary .resolves.not.toThrowError() fix: removes value field from encodeAbiParameters args Co-authored-by: howydev <[email protected]> * feat: adds time range module fix: lint fix: review fixes feat: add view functions and user op calldata encodings feat: adds time module impl feat: adds time range module tests refactor: removes use of addresses, meta, and value field in args passed to encodeAbiParameters Co-authored-by: howydev <[email protected]> * feat: Implement Allowlist Module And Native Token Limit Module (#1232) * feat: allowlist module installation and uninstallation * feat: Add Native Token Limit Module Support (#1233) * feat: (WIP) native token limit module support * feat: adapt native token limit module to new arch and add tests * chore: autogenerated file * chore: cleanup * chore: remove only test specifier * test: test allowlist module usage * test: flesh out native token limit module test * chore: rebase fixes * fix: await useroperation results correctly * chore: remove redundant post hook * feat: allow hooks on the fallback validation * fix: fix error name mismatch * fix: remove unnecessary await wrapping * chore: removed unused module components, cleanup * chore: rearrange tests to handle polluted end states * feat: add native signer, implement signMessage and signTypedData (#1246) * feat: add native signer, implement signMessage and signTypedData * chore: fix --------- Co-authored-by: Linna <[email protected]> Co-authored-by: Zer0dot <[email protected]>
Pull Request Checklist
yarn test
)site
folder, and guidelines for updating/adding docs can be found in the contribution guide)feat!: breaking change
)yarn lint:check
) and fix any issues? (yarn lint:write
)Implements features related to the AllowlistModule. TODOS:
onInstall()
andonUninstall()
PR-Codex overview
This PR focuses on introducing new error handling and validation modules in a smart contract system, enhancing the encoding and decoding of data for various modules, and improving test coverage for these functionalities.
Detailed summary
name
inEntityIdOverrideError
to"EntityIdOverrideError"
.nativeTokenLimitModule
with encoding methods for install/uninstall data.allowlistModule
with encoding methods for install/uninstall data.allowlistModule
andnativeTokenLimitModule
.installValidationActions
.